package com.ztgf.shopping.models.service.audit;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.audit.AuditLogQueryBO;
import com.ztgf.shopping.models.dto.audit.AuditLogDTO;
import com.ztgf.shopping.models.vo.audit.AuditLogVO;

import java.util.List;

public interface IAuditLogService extends IService<AuditLogDTO> {
    Page<AuditLogVO> queryLogPageList(AuditLogQueryBO bo); //审核日志

    AuditLogDTO getByAidAndStatus(Long auditId,  Integer status);//根据审核表和ID查询状态

    boolean add(Long auditId, Integer status);

    boolean updateOpt(Long id);

    List<AuditLogVO> queryList(Long auditId);

    AuditLogVO get(Long id);
}
